﻿<%@ Page Language="C#" MasterPageFile="~/FeaturedMember.master" AutoEventWireup="true" CodeFile="DentistAppointmentDetail.aspx.cs" Inherits="Dentist_DentistAppointmentDetail" Title="Untitled Page" %>

<%@ Register Src="../includes/showRate.ascx" TagName="showRate" TagPrefix="uc4" %>
<%@ Register Src="../includes/Rating.ascx" TagName="Rating" TagPrefix="uc3" %>
<%@ Register Src="../includes/DoctorEmailSend.ascx" TagName="DoctorEmailSend" TagPrefix="uc2" %>
<%@ Register Src="../includes/DoctorMenu.ascx" TagName="DoctorMenu" TagPrefix="uc1" %>
<%@ MasterType VirtualPath="~/MainMaster.master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainTable" Runat="Server">
  <!---/ Left wrapper -->
    <div style="width: 94%; padding: 3%">
        <div style="background-color: #f4f4f4; width: 94%; padding: 3%">
            <table cellpadding="0" cellspacing="0" border="0" style="width: 100%; vertical-align: top">
        <tr>
            
                        <td  align="center">
                            <asp:MultiView runat="server" ID="MultiView1" ActiveViewIndex="0">
                                <asp:View runat="server" ID="View1">
                                    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td align="center"  style="width: 516px; height: 141px;">
                                                <!-- contents -->
                                                <table width="100%">
                                                    <tr>
                                                        <td align="center" colspan="2">
                                                            <uc1:DoctorMenu ID="DoctorMenu1" runat="server" />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2" align="left">
                                                            <uc3:Rating ID="Rating1" runat="server" RatingType="PeerReferal" totalScore="15">
                                                            </uc3:Rating>
                                                          
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2" align="left" style="height: 20px">
                                                            <br />
                                                            <asp:Label ID="Label2" runat="server" CssClass="stHead" Text="Appointment Details"
                                                                Font-Underline="True"></asp:Label>
                                                            <br />
                                                            <%
                                                                if (((Request.QueryString["id"] != null) && (Request.QueryString["id"].ToString() == "89798")) || ((RewriteModule.RewriteContext.Current.Params["Id"] != null) && (RewriteModule.RewriteContext.Current.Params["Id"].ToString() == "89798")))
                                                                {
                                                            %>
                                                            <!-- Code to display doctor vedio and images at  291008 by Ranjeet -->
                                                            <!-- Start of Brightcove Player -->
                                                            <br />
                                                            <div style="display: none">
                                                            </div>

                                                            <script src="http://admin.brightcove.com/js/experience_util.js"></script>

                                                            <script>
                                                             // By use of this code snippet, I agree to the Brightcove Publisher T and C 
                                                             // found at http://corp.brightcove.com/legal/terms_publisher.cfm. 

                                                             var config = new Array();

                                                             /* 
                                                             * feel free to edit these configurations
                                                             * to modify the player experience
                                                             */
                                                             config["videoId"] = null; //the default video loaded into the player
                                                             config["videoRef"] = null; //the default video loaded into the player by ref id specified in console
                                                             config["lineupId"] = null; //the default lineup loaded into the player
                                                             config["playerTag"] = null; //player tag used for identifying this page in brightcove reporting
                                                             config["autoStart"] = false; //tells the player to start playing video on load
                                                             config["preloadBackColor"] = "#FFFFFF"; //background color while loading the player
                                                             

                                                              /* 
                                                             * set the player's size using the parameters below
                                                             * to make this player dynamically resizable, set the width and height as a percentage
                                                             */
                                                             config["width"] = 400;
                                                             config["height"] = 300;
                                                             
                                                             /* do not edit these config items */
                                                             config["playerId"] = 1885433962;
                                                             
                                                             createExperience(config);
                                                            </script>

                                                            <!-- End of Brightcove Player -->
                                                            <!-- End Code to display doctor vedio and images at  291008 by Ranjeet -->
                                                            <%
                                                                }                                                                                                                                                                                                                               
                                                            %>
                                                            <%
                                                                else if (((Request.QueryString["id"] != null) && (Request.QueryString["id"].ToString() == "709356")) || ((RewriteModule.RewriteContext.Current.Params["Id"] != null) && (RewriteModule.RewriteContext.Current.Params["Id"].ToString() == "709356")))
                                                                {
                                                            %>
                                                            <!-- Code to display doctor vedio and images at  291008 by Ranjeet -->
                                                            <!-- Start of Brightcove Player -->
                                                            <br />
                                                            <div style="display: none">
                                                            </div>

                                                            <script src="http://admin.brightcove.com/js/experience_util.js"></script>

                                                            <script>
                                                                                     // By use of this code snippet, I agree to the Brightcove Publisher T and C 
                                                                                     // found at http://corp.brightcove.com/legal/terms_publisher.cfm. 

                                                                                     var config = new Array();

                                                                                     /* 
                                                                                     * feel free to edit these configurations
                                                                                     * to modify the player experience
                                                                                     */
                                                                                     config["videoId"] = null; //the default video loaded into the player
                                                                                     config["videoRef"] = null; //the default video loaded into the player by ref id specified in console
                                                                                     config["lineupId"] = null; //the default lineup loaded into the player
                                                                                     config["playerTag"] = null; //player tag used for identifying this page in brightcove reporting
                                                                                     config["autoStart"] = false; //tells the player to start playing video on load
                                                                                     config["preloadBackColor"] = "#FFFFFF"; //background color while loading the player
                                                                                     

                                                                                      /* 
                                                                                     * set the player's size using the parameters below
                                                                                     * to make this player dynamically resizable, set the width and height as a percentage
                                                                                     */
                                                                                     config["width"] = 400;
                                                                                     config["height"] = 300;
                                                                                     
                                                                                     /* do not edit these config items */
                                                                                     config["playerId"] = 1797019168;
                                                                                     
                                                                                     createExperience(config);
                                                            </script>

                                                            <!-- End of Brightcove Player -->
                                                            <!-- End Code to display doctor vedio and images at  291008 by Ranjeet -->
                                                            <%
                                                                }                                                                                                                                                                                                                               
                                                            %>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2">
                                                            <hr />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" style="height:1px">
                                                            <br />
                                                            <table border="0" cellpadding="0" cellspacing="0">
                                                                <tr>
                                                                    <td>
                                                                      <asp:Label ID="Label1" class="blue-heading" runat="server" Text="Date:"></asp:Label>
                                                                    </td>
                                                                    <td style="padding-left:5px">
                                                                        <asp:Label ID="lblDate" class="blue-heading" runat="server" Text=""></asp:Label>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                      <asp:Label ID="Label4" class="blue-heading" runat="server" Text="Day:"></asp:Label>
                                                                    </td>
                                                                    <td style="padding-left:5px">
                                                            
                                                                        <asp:Label ID="lblDay" class="blue-heading" runat="server" Text=""></asp:Label>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                            <br />
                                                        </td>
                                                        <td align="right">
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" style="height: 20px">
                                                            <table border="0" cellpadding="0" cellspacing="0">
                                                                <tr>
                                                                    <td colspan="3" style="height: 2px">
                                                                        <br />
                                                                        <asp:Label ID="Label3" class="blue-heading" runat="server" Text="Appointment Time:"></asp:Label>
                                                                        <br />
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td style="height:20px">
                                                                       <asp:Label ID="Label6" class="blue-heading" runat="server" Text="From:"></asp:Label>
                                                                    </td>
                                                                    <td style="padding-left:12px">
                                                                        <asp:Label ID="lblStartTime" class="black-heading" runat="server" Text="Star"></asp:Label>
                                                                    </td>
                                                                    <td style="padding-left:5px">
                                                                      <asp:Label ID="Label5" class="blue-heading" runat="server" Text="To"></asp:Label>
                                                                    </td>
                                                                    <td style="padding-left:5px">
                                                                        <asp:Label ID="lblEndTime" class="black-heading" runat="server" Text="End"></asp:Label>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                        <td align="left">
                                                            <table>
                                                            </table>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <br />
                                                        </td>
                                                        <td align="right">
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2">
                                                            <hr />
                                                        </td>
                                                    </tr>
                                                    <%if (imgTag.Text.Length > 0)
                                                      {%>
                                                    <tr>
                                                        <td align="left">
                                                            <asp:Literal ID="imgTag" runat="server" Visible="true"></asp:Literal>
                                                            <asp:Literal ID="gender" runat="server" Visible="false"></asp:Literal>
                                                            
                                                        </td>
                                                        <td align="right" valign="top">
                                                           
                                                         <%--   
                                                          <iframe width="260" height="175" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?q=112+Vaughan+St,+,+Portland,+ME,+04102-3508&amp;num=1&amp;start=0&amp;ie=UTF8&amp;hq=&amp;hnear=112+Vaughan+St,+Portland,+Maine+04102&amp;t=m&amp;z=14&amp;ll=43.648257,-70.273269&amp;output=embed"></iframe>
                                                          <br /><small><a href="http://maps.google.com/maps?q=112+Vaughan+St,+,+Portland,+ME,+04102-3508&amp;num=1&amp;start=0&amp;ie=UTF8&amp;hq=&amp;hnear=112+Vaughan+St,+Portland,+Maine+04102&amp;t=m&amp;z=14&amp;ll=43.648257,-70.273269&amp;source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small>
                                                       --%>
                                                       
                                                        </td>
                                                    </tr>
                                                    <%} %>
                                                    <%--<tr>
                                                        <td align="right" colspan="2" style="height: 10px;">
                                                        </td>
                                                    </tr>--%>
                                                    <tr>
                                                        <td align="left" colspan="2" style="height: 62px">
                                                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                                <tr>
                                                                    <td nowrap="true" style="height: 25px;">
                                                                        <asp:Label ID="lblName" runat="server" Font-Bold="True" Font-Size="Large" ForeColor="Blue"></asp:Label>
                                                                    </td>
                                                                    <td align="right" style="height: 25px" valign="bottom">
                                                                        <%if (imgTag.Text.Length <= 0)
                                                                          {%>
                                                                        <table border="0" cellpadding="0" cellspacing="0">
                                                                            <tr>
                                                                                <td>
                                                                                    <img alt="" height="27" src='<%=Session["strHttp"]%>images/vm-left.gif' width="18" />
                                                                                </td>
                                                                                <td>
                                                                                    <asp:LinkButton ID="LinkButton1" runat="server" CssClass="btnbg" Font-Bold="True"
                                                                                        OnClick="lnk_rate_Click">Rate Dr. <%=lblName.Text  %></asp:LinkButton>
                                                                                </td>
                                                                                <td>
                                                                                    <img alt="" height="27" src='<%=Session["strHttp"]%>images/vm-right2.gif' width="26" />
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                        <%} %>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td colspan="2" style="height: 3px; text-align: right;">
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td style="width: 171px;" valign="top">
                                                                        <asp:Label ID="lblTitle" runat="server" Font-Size="Large"></asp:Label>
                                                                    </td>
                                                                    <td align="right" valign="top">
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td  style="height: 15px">
                                                                        <asp:Label ID="lblSpeciality" runat="server" Css Font-Bold="False"></asp:Label>
                                                                        <asp:Label ID="lblPSpeciality" runat="server"></asp:Label>
                                                                        <asp:Label ID="lblSSpecialty" runat="server"></asp:Label>
                                                                    </td>
                                                                    <td align="right" nowrap="true" style="height: 30px; font-weight: bold; font-size: 13px;
                                                                        color: blue;" valign="top">
                                                                        <%if (imgTag.Text.Length <= 0)
                                                                          {%>
                                                                        <table border="0" cellpadding="0" cellspacing="0">
                                                                            <tr>
                                                                                <td>
                                                                                    <img alt="" height="27" src='<%=Session["strHttp"]%>images/vm-left.gif' width="18" />
                                                                                </td>
                                                                                <td nowrap="true">
                                                                                    <asp:LinkButton ID="LinkButton2" runat="server" CssClass="btnbg" Font-Bold="true"
                                                                                        OnClick="linkViewPostMessage_Click" Text=""></asp:LinkButton>
                                                                                </td>
                                                                                <td>
                                                                                    <img alt="" height="27" src='<%=Session["strHttp"]%>images/vm-right2.gif' width="26" />
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                        <%} %>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td  colspan="1" style="height: 30px">
                                                                        <asp:Label ID="lblAddress" runat="server" Css></asp:Label>
                                                                    </td>
                                                                    <td align="right" style="height: 30px; font-weight: bold; font-size: 13px; color: blue;"
                                                                        valign="middle">
                                                                        <asp:Label ID="lbl_endor" runat="server" Text="Doctor Endorsements:"></asp:Label>
                                                                        <asp:Label ID="lbl_endorse" runat="server" Text="Label"></asp:Label>
                                                                        <br />
                                                                        <br />
                                                                        Patient Reviews:
                                                                        <asp:Literal ID="litReviews" runat="server"></asp:Literal>
                                                                        &nbsp;<br />
                                                                        <br />
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td  colspan="2" style="height: 15px">
                                                                        <asp:Label ID="lbl_web" runat="server" Css></asp:Label>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td colspan="2">
                                                                        <br />
                                                                        (<asp:HyperLink ID="lnkGoogle" runat="server" Target="_blank">Google Maps™ View
                                                                        </asp:HyperLink>
                                                                        ) (<asp:HyperLink ID="lnkGoogle1" runat="server" Target="_blank">Satellite View</asp:HyperLink>
                                                                        )
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td colspan="2">
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td colspan="2">
                                                                        <br />
                                                                        <br />
                                                                        <asp:Label ID="lbl_about" runat="server"></asp:Label>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" colspan="2">
                                                           
                                                        </td>
                                                    </tr>
                                                   
                                                  
                                                   <%-- </caption>--%>
                                                </table>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="left"  style="width: 516px; height: 8px;">
                                                <img src="<%=Session["strHttp"]%>images/spacer.gif" alt="" width="8" height="8" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="center" >
                                                <%if ((Request.QueryString["id"] != null) && (Session["userid"] != null))
                                                  {
                                                      if (Request.QueryString["id"].ToString() != Session["userid"].ToString())
                                                      { %>
                                                <br />
                                                <asp:Button ID="btnBack" runat="server" OnClick="btnBack_Click" Text="Back To Calendar" />
                                                <%}
                                                  }%>
                                                <%else if ((RewriteModule.RewriteContext.Current.Params["Id"] != null) && (Session["userid"] != null))
                                                    {
                                                        if (RewriteModule.RewriteContext.Current.Params["Id"].ToString() != Session["userid"].ToString())
                                                        { %>
                                                <br />
                                                <asp:Button ID="Button2" runat="server" OnClick="btnBack_Click" Text="Back To Calendar" />
                                                <%}
                                                    }%>
                                                <% else
                                                    {%>
                                                <br />
                                                <asp:Button ID="Button1" runat="server" OnClick="btnBack_Click" Text="Back To Calendar" />
                                                <%} %>
                                            </td>
                                        </tr>
                                    </table>
                                   <%-- <uc2:DoctorEmailSend ID="DoctorEmailSend1" runat="server" />--%>
                                </asp:View>
                                <asp:View runat="server" ID="View2">
                                    <table cellpadding="0" cellspacing="0" border="0">
                                        <tr>
                                            <td align="center" colspan="2">
                                                <asp:Label ID="lblMsg" runat="server"></asp:Label>
                                            </td>
                                        </tr>
                                    </table>
                                </asp:View>
                            </asp:MultiView>
                        </td>
                       
    </table>
</div></div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="InnerRight" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="FeaturedBox" Runat="Server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="FeatureDocBox" Runat="Server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ScriptContent" Runat="Server">
</asp:Content>

